package com.chixing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author smith
 * @since 2025-09-30
 */
@TableName("order_cancel_rules")
public class OrderCancelRules implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "cancel_id", type = IdType.AUTO)
    private Long cancelId;

    private String cancelType;

    private Integer cancelDays;

    private Double feeRate;

    private String ruleDesc;

    public Long getCancelId() {
        return cancelId;
    }

    public void setCancelId(Long cancelId) {
        this.cancelId = cancelId;
    }
    public String getCancelType() {
        return cancelType;
    }

    public void setCancelType(String cancelType) {
        this.cancelType = cancelType;
    }
    public Integer getCancelDays() {
        return cancelDays;
    }

    public void setCancelDays(Integer cancelDays) {
        this.cancelDays = cancelDays;
    }
    public Double getFeeRate() {
        return feeRate;
    }

    public void setFeeRate(Double feeRate) {
        this.feeRate = feeRate;
    }
    public String getRuleDesc() {
        return ruleDesc;
    }

    public void setRuleDesc(String ruleDesc) {
        this.ruleDesc = ruleDesc;
    }

    @Override
    public String toString() {
        return "OrderCancelRules{" +
            "cancelId=" + cancelId +
            ", cancelType=" + cancelType +
            ", cancelDays=" + cancelDays +
            ", feeRate=" + feeRate +
            ", ruleDesc=" + ruleDesc +
        "}";
    }
}
